package com.wyh.domain.dto;

import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyh
 * @since 2025-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("collection_items")
@Schema(description="Items对象")
public class Items implements Serializable {

    private static final long serialVersionUID = 1L;

//    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @Schema(description = "收藏夹ID")
    private Long collectionId;

    @Schema(description = "内容ID")
    private Long contentId;

    @Schema(description = "操作用户ID")
    private Long userId;

    @Schema(description = "收藏备注")
    private String notes;

    private LocalDateTime createdAt;


}
